Add patch for cross compilation
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Tue, 3 Sep 2019 19:20:46 +0000 (21:20 +0200)
committerJochen Sprickerhof <git@jochen.sprickerhof.de>
Tue, 3 Sep 2019 19:20:46 +0000 (21:20 +0200)
Closes: #934849
Thanks: Helmut Grohne

debian/patches/cross.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/cross.patch b/debian/patches/cross.patch
new file mode 100644 (file)
index 0000000..a0ae1f6
--- /dev/null
@@ -0,0 +1,12 @@
+--- gpsbabel-1.6.0+ds.orig/configure.ac
++++ gpsbabel-1.6.0+ds/configure.ac
+@@ -364,7 +364,8 @@
+                       [AC_MSG_RESULT(rpath required)],
+                       [AC_MSG_FAILURE(loader cannot find Qt library)
+                       LDFLAGS="$OLDFLAGS"]
+-                      )]
++                      )],
++              [AC_MSG_RESULT(cross. assuming rpath not needed)]
+               )
+       CPPFLAGS="$OCPPFLAGS"
+       LIBS="$OLIBS"
index 64a9a88e50d7befd807a86c38be461bdad8d33d1..f4937223b943c5f2bc6e4a3ef56e928a5f3b449b 100644 (file)
@@ -8,3 +8,4 @@ htmldoc-location
 0011-Fix-exec-in-gpsbabel.desktop.patch
 0009-Don-t-pass-MAKEFLAGS-to-MAKE.patch
 0010-Fix-manpage-xml.patch
+cross.patch